package chapter.fourth.item20;

public class Circle extends Shape {

	private final double radius;
	
	public Circle(double radius) {
		super();
		this.radius = radius;
	}

	@Override
	double area() {
		return Math.PI*(radius*radius);
	}

	public double getRadius() {
		return radius;
	}

}
